import express from "express";
import UserController from "../../controller/userController/userController.js";

const userRouter = express.Router()


userRouter.get('/portrait', UserController.GetPortrait)
userRouter.get('/getAllUser', UserController.GetAllUser)
userRouter.post('/insertUser', UserController.InsertUser)
userRouter.put('/editUser', UserController.EditUser)
userRouter.delete('/deleteUser', UserController.DeleteUser)
userRouter.get('/getStar', UserController.GetStar)
userRouter.get('/getUserInfo', UserController.GetUserInfo)
export default userRouter;